﻿using System;
using System.Runtime.Serialization;

namespace StreetPacMan.FrontEnd
{
    [DataContract]
    public class RequestError
    {
        [DataMember]
        public string Error { get; private set; }

        public RequestError(Exception argumentException)
        {
            Error = argumentException.Message;
        }
    }
}